/*
 * @Author: jack-ZM
 * @Date: 2022-08-04 14:39:19
 * @LastEditors: jack-ZM
 * @LastEditTime: 2022-08-15 14:53:29
 * @FilePath: /vue3ts-admin-template/src/hooks/useRouteInfo.ts
 * @Description: 快捷导出 route router对象
 *
 * Copyright (c) 2022 by zsm smzhang@fiberhome.com, All Rights Reserved.
 */
import Vrouter from '@/router';
const route = Vrouter?.currentRoute?.value;
const router = Vrouter;
const useRouteInfo = () => {
    return { route, router };
};
export default useRouteInfo;
